package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.vo.SpecificationVo;

import java.util.List;

public interface SpecificationService {
    List<TbSpecification> listSpecifications(String specName);

    SpecificationVo selectSpecificationAndOptionById(Long id);

    void addSpecificationAndOption(String specName, List<TbSpecificationOption> tbSpecificationOptions);

    void updateSpecificationAndOption(String specName, List<TbSpecificationOption> tbSpecificationOptions,Long id);

    void delSpecificatons(List<Long> ids);
}
